package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 接入端账密配置对象 datax_end_point
 * 
 * @author ruoyi
 * @date 2022-10-14
 */
public class DataxEndPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 接入端名称 */
    @Excel(name = "接入端名称")
    private String name;

    /** 捷顺独有字段 */
    @Excel(name = "捷顺独有字段")
    private String accessname;

    /** 停车场编号 */
    @Excel(name = "停车场编号")
    private String parkNo;

    /** 数据上行地址 */
    @Excel(name = "数据上行地址")
    private String dataUploadUrl;

    /** 数据下行接口 */
    @Excel(name = "数据下行接口")
    private String dataDownloadUrl;

    /** 上行账号、公钥 */
    @Excel(name = "上行账号、公钥")
    private String accountUserUp;

    /** 上行密码、私钥 */
    @Excel(name = "上行密码、私钥")
    private String accountPwdUp;

    /** 下行账号、公钥 */
    @Excel(name = "下行账号、公钥")
    private String accountUserDown;

    /** 下行密码、私钥 */
    @Excel(name = "下行密码、私钥")
    private String accountPwdDown;

    /** 加解密方式：1：账号密码-token；2：非对称加密-公私钥 */
    @Excel(name = "加解密方式：1：账号密码-token；2：非对称加密-公私钥")
    private Integer type;

    /** 是否发起心跳：1:否，0:是 */
    @Excel(name = "是否发起心跳：1:否，0:是")
    private Integer isHeart;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAccessname(String accessname) 
    {
        this.accessname = accessname;
    }

    public String getAccessname() 
    {
        return accessname;
    }
    public void setParkNo(String parkNo) 
    {
        this.parkNo = parkNo;
    }

    public String getParkNo() 
    {
        return parkNo;
    }
    public void setDataUploadUrl(String dataUploadUrl) 
    {
        this.dataUploadUrl = dataUploadUrl;
    }

    public String getDataUploadUrl() 
    {
        return dataUploadUrl;
    }
    public void setDataDownloadUrl(String dataDownloadUrl) 
    {
        this.dataDownloadUrl = dataDownloadUrl;
    }

    public String getDataDownloadUrl() 
    {
        return dataDownloadUrl;
    }
    public void setAccountUserUp(String accountUserUp) 
    {
        this.accountUserUp = accountUserUp;
    }

    public String getAccountUserUp() 
    {
        return accountUserUp;
    }
    public void setAccountPwdUp(String accountPwdUp) 
    {
        this.accountPwdUp = accountPwdUp;
    }

    public String getAccountPwdUp() 
    {
        return accountPwdUp;
    }
    public void setAccountUserDown(String accountUserDown) 
    {
        this.accountUserDown = accountUserDown;
    }

    public String getAccountUserDown() 
    {
        return accountUserDown;
    }
    public void setAccountPwdDown(String accountPwdDown) 
    {
        this.accountPwdDown = accountPwdDown;
    }

    public String getAccountPwdDown() 
    {
        return accountPwdDown;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setIsHeart(Integer isHeart) 
    {
        this.isHeart = isHeart;
    }

    public Integer getIsHeart() 
    {
        return isHeart;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("accessname", getAccessname())
            .append("parkNo", getParkNo())
            .append("dataUploadUrl", getDataUploadUrl())
            .append("dataDownloadUrl", getDataDownloadUrl())
            .append("accountUserUp", getAccountUserUp())
            .append("accountPwdUp", getAccountPwdUp())
            .append("accountUserDown", getAccountUserDown())
            .append("accountPwdDown", getAccountPwdDown())
            .append("type", getType())
            .append("isHeart", getIsHeart())
            .toString();
    }
}
